package com.stylefeng.guns.common.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 系统信息表
 * </p>
 *
 * @author ruiyifeng123
 * @since 2018-05-07
 */
@TableName("wz_sys")
public class WzSys extends Model<WzSys> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * ios版本号
     */
    @TableField("ios_version")
    private String iosVersion;
    /**
     * ios审核版本
     */
    @TableField("ios_check_version")
    private String iosCheckVersion;
    /**
     * 安卓版本号
     */
    @TableField("android_version")
    private String androidVersion;
    /**
     * ios状态:0-上架审核
     */
    @TableField("ios_status")
    private Integer iosStatus;
    /**
     * 主页抽奖图片
     */
    @TableField("index_url")
    private String indexUrl;
    /**
     * 首页头部轮播图
     */
    @TableField("index_top_banners")
    private String indexTopBanners;
    /**
     * 首页中部图
     */
    @TableField("index_middle_banners")
    private String indexMiddleBanners;
    /**
     * 启动页图片
     */
    @TableField("start_page")
    private String startPage;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getIosVersion() {
        return iosVersion;
    }

    public void setIosVersion(String iosVersion) {
        this.iosVersion = iosVersion;
    }

    public String getIosCheckVersion() {
        return iosCheckVersion;
    }

    public void setIosCheckVersion(String iosCheckVersion) {
        this.iosCheckVersion = iosCheckVersion;
    }

    public String getAndroidVersion() {
        return androidVersion;
    }

    public void setAndroidVersion(String androidVersion) {
        this.androidVersion = androidVersion;
    }

    public Integer getIosStatus() {
        return iosStatus;
    }

    public void setIosStatus(Integer iosStatus) {
        this.iosStatus = iosStatus;
    }

    public String getIndexUrl() {
        return indexUrl;
    }

    public void setIndexUrl(String indexUrl) {
        this.indexUrl = indexUrl;
    }

    public String getIndexTopBanners() {
        return indexTopBanners;
    }

    public void setIndexTopBanners(String indexTopBanners) {
        this.indexTopBanners = indexTopBanners;
    }

    public String getIndexMiddleBanners() {
        return indexMiddleBanners;
    }

    public void setIndexMiddleBanners(String indexMiddleBanners) {
        this.indexMiddleBanners = indexMiddleBanners;
    }

    public String getStartPage() {
        return startPage;
    }

    public void setStartPage(String startPage) {
        this.startPage = startPage;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "WzSys{" +
        "id=" + id +
        ", iosVersion=" + iosVersion +
        ", iosCheckVersion=" + iosCheckVersion +
        ", androidVersion=" + androidVersion +
        ", iosStatus=" + iosStatus +
        ", indexUrl=" + indexUrl +
        ", indexTopBanners=" + indexTopBanners +
        ", indexMiddleBanners=" + indexMiddleBanners +
        ", startPage=" + startPage +
        "}";
    }
}
